package com.sample.prdownloader;

import ohos.aafwk.ability.AbilityPackage;

import com.prdownloader.PRDownloader;
import com.prdownloader.PRDownloaderConfig;

public class SampleApp extends AbilityPackage {
    @Override
    public void onInitialize() {
        super.onInitialize();
        PRDownloaderConfig config = PRDownloaderConfig.newBuilder()
                .setDatabaseEnabled(true)
                .build();
        PRDownloader.initialize(this, config);
    }
}
